package com.zyh.record.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zyh.answer.domain.UserAnswer;
import com.zyh.common.core.domain.AjaxResult;
import com.zyh.record.domain.ExamRecord;

/**
* @author ZYH
* @description 针对表【t_exam_record】的数据库操作Service
* @createDate 2025-03-02 20:29:11
*/
public interface ExamRecordService extends IService<ExamRecord> {

    int submitPaper(ExamRecord record);

    AjaxResult addAnswer(UserAnswer userAnswer);

    // 比较历史记录
    AjaxResult compareHistoryRecord(Long currentId, Long historyId);
}
